 /*
 * UMLSynch - Simple RMI part
 * http://umlsynch.googlecode.com
 *
 * Copyright 2008-2010, Evgeny Alexeyev
 * Licensed under the EPL - v1.0
 * http://www.eclipse.org/legal/epl-v10.html
 *
 */

package com.googlecode.umlsynch.rpc.base;


public class TDebug implements IDebug {
    IDebug debug;
	
	public TDebug(IDebug dbg) {
		debug = dbg;		
	}
	
	@Override
	public void Debug(String str) {
		if (debug != null) {
			debug.Debug(str);
		}	
	}

	@Override
	public void Error(String str) {
		if (debug != null) {
			debug.Error(str);
		}		
	}

	@Override
	public void Note(String str) {
		if (debug != null) {
			debug.Note(str);
		}		
	}

	@Override
	public void Warning(String str) {
		if (debug != null) {
			debug.Warning(str);
		}
		
	}

}
